package cn.easyutil.project.web.advice;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface ResponseOutAdvice {

    /**
     * 数据返回前的包装
     * @param outObj    原始数据返回
     * @param MethodReturnType  原始方法返回值类型
     * @param request
     * @return
     */
    public Object process(Object outObj, Class<?> MethodReturnType, HttpServletRequest request, HttpServletResponse response);
}
